﻿using Core.DataAccess.Model;
using Core.DataAccess.Model.iTool.Gateway;
using HandlerContextOptions;
using System.Collections.Generic;
using System.Threading.Tasks;

namespace UserCenter.Interfaces
{
    public interface IUserBasics
    {
        Task<UserLoginResult> LoginAsync(UserLoginRequset requset);
        Task<UserRegisterResult> RegisterAsync(UserRegisterRequset requset);
        Task<UserModifyResult> ModifyAsync(UserModifyRequset requset);
        Task<UserDeleteResult> DeleteAsync(UserDeleteRequest requset);
        Task<List<SysUser>> GetSysUsers(Pagination pagination);
    }
}
